#pragma once
#include"BoundingBox.h"
#include"Material.h"
struct HitRecord
{
	float t;
	Material mat;
	Vector3 normal;
	Vector3 uvw;
	Vector3 uv;
};

class Surface
{
public:
	Surface();
	~Surface();

	virtual Vector3 GetCenter() = 0;
	virtual bool Hit(lzw::Ray ray, float t0, float t1, HitRecord& rec) = 0;
	virtual BoundingBox GetBoundingBox() = 0;
public:
	bool isStatic;
};

